<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="cn">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>后台管理系统</title>

    <!-- Bootstrap Core CSS -->
    <link href="/knife/Public/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="/knife/Public/css/sb-admin.css" rel="stylesheet">

    <!-- Morris Charts CSS -->
    <link href="/knife/Public/css/plugins/morris.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="/knife/Public/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body>

    <div id="wrapper">

        <!-- Navigation -->
        <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="index.html">SB Admin1111111</a>
            </div>
            <!-- Top Menu Items -->
            <ul class="nav navbar-right top-nav">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-envelope"></i> <b class="caret"></b></a>
                    <ul class="dropdown-menu message-dropdown">
                        <li class="message-preview">
                            <a href="#">
                                <div class="media">
                                    <span class="pull-left">
                                        <img class="media-object" src="http://placehold.it/50x50" alt="">
                                    </span>
                                    <div class="media-body">
                                        <h5 class="media-heading"><strong>John Smith</strong>
                                        </h5>
                                        <p class="small text-muted"><i class="fa fa-clock-o"></i> Yesterday at 4:32 PM</p>
                                        <p>Lorem ipsum dolor sit amet, consectetur...</p>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="message-preview">
                            <a href="#">
                                <div class="media">
                                    <span class="pull-left">
                                        <img class="media-object" src="http://placehold.it/50x50" alt="">
                                    </span>
                                    <div class="media-body">
                                        <h5 class="media-heading"><strong>John Smith</strong>
                                        </h5>
                                        <p class="small text-muted"><i class="fa fa-clock-o"></i> Yesterday at 4:32 PM</p>
                                        <p>Lorem ipsum dolor sit amet, consectetur...</p>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="message-preview">
                            <a href="#">
                                <div class="media">
                                    <span class="pull-left">
                                        <img class="media-object" src="http://placehold.it/50x50" alt="">
                                    </span>
                                    <div class="media-body">
                                        <h5 class="media-heading"><strong>John Smith</strong>
                                        </h5>
                                        <p class="small text-muted"><i class="fa fa-clock-o"></i> Yesterday at 4:32 PM</p>
                                        <p>Lorem ipsum dolor sit amet, consectetur...</p>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="message-footer">
                            <a href="#">Read All New Messages</a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-bell"></i> <b class="caret"></b></a>
                    <ul class="dropdown-menu alert-dropdown">
                        <li>
                            <a href="#">Alert Name <span class="label label-default">Alert Badge</span></a>
                        </li>
                        <li>
                            <a href="#">Alert Name <span class="label label-primary">Alert Badge</span></a>
                        </li>
                        <li>
                            <a href="#">Alert Name <span class="label label-success">Alert Badge</span></a>
                        </li>
                        <li>
                            <a href="#">Alert Name <span class="label label-info">Alert Badge</span></a>
                        </li>
                        <li>
                            <a href="#">Alert Name <span class="label label-warning">Alert Badge</span></a>
                        </li>
                        <li>
                            <a href="#">Alert Name <span class="label label-danger">Alert Badge</span></a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">View All</a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <?php echo $_SESSION['user']['name'] ?> <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="#"><i class="fa fa-fw fa-user"></i> 个人信息</a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-fw fa-envelope"></i> 邮件</a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-fw fa-gear"></i> 设置</a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="<?php echo U('Home/Index/logout');?>"><i class="fa fa-fw fa-power-off"></i> 退出</a>
                        </li>
                    </ul>
                </li>
            </ul>
            <!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens -->
            <div class="collapse navbar-collapse navbar-ex1-collapse">
                <ul class="nav navbar-nav side-nav">
                    <li class="active">
                        <a href="<?php echo U('Index/index');?>"><i class="fa fa-fw fa-dashboard"></i> 首 页 </a>
                    </li>
                    <li>
                        <a href="javascript:;" data-toggle="collapse" data-target="#demo"><i class="fa fa-fw fa-arrows-v"></i> 用户管理 <i class="fa fa-fw fa-caret-down"></i></a>
                        <ul id="demo" class="collapse">
                            <li>
                                <a href="<?php echo U('User/index');?>">前台用户</a>
                            </li>
                            <li>
                                <a href="<?php echo U('Auser/index');?>">后台用户</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="<?php echo U('Link/index');?>"><i class="fa fa-fw fa-table"></i> 友情链接</a>
                    </li>
                    <li>
                        <a href="<?php echo U('Topic/index');?>"><i class="fa fa-fw fa-bar-chart-o"></i> 话题管理</a>
                    </li>
                    <li>
                        <a href="<?php echo U('Container/index');?>"><i class="fa fa-fw fa-edit"></i> 问题管理</a>
                    </li>
                    <li>
                        <a href="<?php echo U('Reply/index');?>"><i class="fa fa-fw fa-desktop"></i> 评论管理</a>
                    </li>
                    <li>
                        <a href="<?php echo U('Index/bootstrapgrid');?>"><i class="fa fa-fw fa-wrench"></i> 积分管理</a>
                    </li>
                    <li>
                        <a href="<?php echo U('Index/blankpage');?>"><i class="fa fa-fw fa-file"></i> Blank Page</a>
                    </li>
                </ul>
            </div>
            <!-- /.navbar-collapse -->
        </nav>

        <div id="page-wrapper">

  
            <div class="container-fluid">


<!-- Page Heading -->
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header">
                后台用户管理
            </h1>
            <ol class="breadcrumb">
                <li>
                    <i class="fa fa-dashboard"></i>  <a href="<?php echo U('User/index');?>"> 管理员列表 </a>
                </li>
                <li class="active">
                    <i class="fa fa-edit"></i> 后台用户
                </li>
            </ol>
        </div>
    </div>
<!-- /.row -->
    <div class="row">
    <div class="col-md-8 col-md-offset-2">
        <form action="<?php echo U('insert');?>" method="post" class="h3">
            用户名:
            <input type="text" name="name" placeholder="请输入用户名"><br><br>
            密　码:
            <input type="password" name="pass"><br><br>
            确认密码:
            <input type="password" name="repass"><br><br>
            联系号码:
            <input type="text" name="phone"><br><br>
            状　态:
            <select name="cover">
                <option value="0">超级管理员</option>
                <option value="1">普通管理员</option>
            </select><br><br>
            <br><br><!-- time()  date('Y-m-d H:i:s') -->
            <input type="hidden" name="addtime" value="<?php echo date('Y-m-d H:i:s');;?>">
            <input type="hidden" name="vcode" value="2345">
            <input type="hidden" name="hot" value="66">
            <input type="hidden" name="meke" value="呵呵哒">
            <input type="submit" value="确认添加">
        </form>
    </div>
</div>




            </div>
            <!-- /.container-fluid -->
        </div>
        <!-- /#page-wrapper -->

    </div>
    <!-- /#wrapper -->

    <!-- jQuery -->
    <script src="/knife/Public/js/jquery.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="/knife/Public/js/bootstrap.min.js"></script>

    <!-- Morris Charts JavaScript -->
    <script src="/knife/Public/js/plugins/morris/raphael.min.js"></script>
    <script src="/knife/Public/js/plugins/morris/morris.min.js"></script>
    <script src="/knife/Public/js/plugins/morris/morris-data.js"></script>

    <!-- Flot Charts JavaScript -->
    <!--[if lte IE 8]><script src="js/excanvas.min.js"></script><![endif]-->
    <script src="/knife/Public/js/plugins/flot/jquery.flot.js"></script>
    <script src="/knife/Public/js/plugins/flot/jquery.flot.tooltip.min.js"></script>
    <script src="/knife/Public/js/plugins/flot/jquery.flot.resize.js"></script>
    <script src="/knife/Public/js/plugins/flot/jquery.flot.pie.js"></script>
    <script src="/knife/Public/js/plugins/flot/flot-data.js"></script>


</body>

</html>